home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / src / X11 / xmessage / Tests < prev    next >
Text File  |  1995-06-22  |  722b  |  14 lines

  1. #! /bin/sh -v
  2. xmessage this is standard usage, message on the command line
  3. echo this is a message from standard input | xmessage -file -
  4. xmessage -file Imakefile -buttons print,me -print
  5. xmessage -buttons "" no buttons, use delete window from window manager
  6. xmessage -buttons default,other -default default Type Return for the default
  7. xmessage -buttons default,other -default default -warp other Click for the default
  8. xmessage -buttons many,buttons,determining,the,size,of,the,window short msg
  9. xmessage -buttons 14:14,102,3:3,27:27,105 pick a number; echo you picked $?
  10. # fun with resources...
  11. xmessage -buttons "" -xrm '*text.borderWidth: 0' \
  12.     -xrm '*Translations: #override <BtnDown>: exit(0)' \
  13.     click here to dismiss
  14.